let base64 = require('js-base64').Base64;

export default {
  setIdentity(state, identity) {//存储用户唯一标识
    if (identity) {
      sessionStorage.setItem("identity", base64.encode(identity));
    }
  }
}
